package com.example.mydesignmodule.visitor;

/**
 * @author tgw
 * @date 2021/3/8
 * @describe
 */
class CToVisitor implements Visitior{
    @Override
    public void visit(StaffOne staffOne) {
        System.out.println("普通员工CTO关注业务量"+staffOne.toString());
    }

    @Override
    public void visit(StaffTwo staffTwo) {
        System.out.println("技术员工CTo关注技术"+staffTwo.toString());
    }
}
